package com.weichen.studentgameexchange.game.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weichen.studentgameexchange.common.common.Result;
import com.weichen.studentgameexchange.game.entity.Sort;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weichen.studentgameexchange.game.entity.vo.SortVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
public interface ISortService extends IService<Sort> {

    Result adminAdd(Sort sort);

    Page<Sort> adminPage(String keyword, Integer page, Integer size);

    void adminDeleteOne(Long sortId);


    Result adminUpdate(Sort sort);

    Result addGameSort(SortVo sortVo);

    Result selectGameSort(Long sortId);

    Result updateGameSort(SortVo sortVo);

    Result userPage(Long sortId, Integer page, Integer size);
}
